**qui{
*replace ave_xdiv_i_dummy=$ave_xdiv_i_dummy in $i
replace ave_mtr=$mtr in $i
replace ave_mtr_zero=$mtr_zero in $i
replace N=e(N) in $i

replace N_cg_8593=$N_cg_8593 in $i
replace cg_8593_2=$cg_8593 in $i

replace version=$version in $i
forvalues y=1(1)3 {

replace b`y'=_b[_T_event_`y'] in $i
replace se`y'=_se[_T_event_`y'] in $i
}
forvalues y=5(1)10 {

replace b`y'=_b[_T_event_`y'] in $i
replace se`y'=_se[_T_event_`y'] in $i
}
global i = $i+1
**}



